var mongoose = require('mongoose');

mongoose.connect('mongodb://localhost/wechat');

var Schema = mongoose.Schema;

var ObjectId = mongoose.Schema.Types.ObjectId;

var messageSchema = new Schema({
	user_id: ObjectId,
	message: String,
	created_at: Number
});
